public class TestMyPriorityQueue {
    public static void main(String[] args) {
        int[] array = {3,5,7,1,6,2,-5,10};
        MyPriorityQueue myPriorityQueue = new MyPriorityQueue();
        System.out.println(myPriorityQueue.peekHeap());
        myPriorityQueue.createHeap(array);
        myPriorityQueue.display();
        System.out.println("========");
        myPriorityQueue.push(100);
        myPriorityQueue.display();
        System.out.println("========");
        myPriorityQueue.pollHeap();
        myPriorityQueue.display();
        System.out.println(myPriorityQueue.isFull());
        System.out.println(myPriorityQueue.isEmpty());
        System.out.println(myPriorityQueue.peekHeap());
    }

}
